﻿namespace MoskvaFM
{
    using System;

    public class Station
    {
        public string Name { get; set; }

        public string ID { get; set; }

        public IStationSource StationSource { get; set; }

        public string DisplayName
        {
            get
            {
                return string.Format("{0}-{1}", StationSource.DisplayName, Name);
            }
        }

        public string GetDocument(string startTime)
        {
            return StationSource.FormatDocument(ID, startTime);
        }
    }
}